package com.powernode.boss.common.enums;


//错误码
public enum SysCode {
    OK(1000,"登录成功"),
    DEFAULT_ERROR(1001,"请稍后重试"),
    REQUEST_PARAM_ERRER(1002,"请求参数异常"),
    OPERATOR_LOGIN_NAME_ERROR(2001,"登录用户名无效"),
    OPERATOR_DISABLE_ERROR_ERROR(2002,"用户不可用"),
    OPERATOR_NAME_PWD_ERROR(2003,"登录名密码错误"),

    ;
    private String text;
    private Integer code;

    SysCode( Integer code,String text) {
        this.text = text;
        this.code = code;
    }

    public String getText() {
        return text;
    }

    public Integer getCode() {
        return code;
    }
}
